package com.zhiche.lisa.lspm.service.otm;


import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.lspm.dao.model.otm.OtmLisaCarrier;

/**
 * <p>
 * 运力推送OTM接口日志表 服务类
 * </p>
 *
 * @author qichao
 * @since 2018-07-06
 */
public interface IOtmLisaCarrierService extends IService<OtmLisaCarrier> {

    /**
     * 存储接口日志表
     * @param lspId
     * @param driverId
     * @param carrierId
     * @param trailerId
     * @param otmApiUrl
     * @param requestId
     */
    Boolean insertOtmLisa(Long lspId,Long driverId,Long carrierId,Long trailerId,String otmApiUrl, String requestId);


    /**
     * 更新回调结果
     * @param returnMesssage
     */
    void updateCallbackResult(String returnMesssage);

}
